package com.farmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.farmer.pojo.Menu;
import com.farmer.pojo.MenuAllocation;

import java.util.List;

/**
* @author 86183
* @description 针对表【menu】的数据库操作Service
* @createDate 2024-04-23 20:28:45
*/
public interface MenuService extends IService<Menu> {
////查询当前用户的子菜单信息
//    List<TreeResult> selMenuInfoByRidPidMapper(Integer rid, String pid);

    void menuAllocation(MenuAllocation menuAllocation);

    List<Menu> getUserMenus(Long userId);

    void deleteMenuRoles(Integer menuId);
}
